Skip to content

Conversation

@hianhianhian
Copy link

git clone does a fetch after a successful clone, which defeats the purpose of doing --filter=tree:0 as it seems like git will still fetch the file contents from the remote

Adding --no-checkout should effectively prevent this fetch and leave the clone without any blobs, just having the .git directory

I am not 100% sure this is necessary but from testing on my own fork, this seems to do the trick (my fork has other changes to the git clone command to work with our branching structure).

@YuriSizov YuriSizov added the enhancement New feature or request label Aug 2, 2023
@YuriSizov
Copy link
Contributor

I'm not well versed in these intricacies about Git. I think I need to add some CI tests to make sure such changes don't change the output of the command (e.g. the data file is still the same).

@akien-mga akien-mga force-pushed the master branch 2 times, most recently from f694af5 to 573d6cb Compare March 14, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants